function TabViewUtil() {
	
};

TabViewUtil.prototype.addTabToDiv = function(divId) {
	
	var myTabs = new YAHOO.widget.TabView();
	 
	myTabs.addTab( new YAHOO.widget.Tab({
	    label: 'Post',
	    content: '<p>Create New Post</p>',
	    active: true
	}));
	 
	myTabs.addTab( new YAHOO.widget.Tab({
	    label: 'View',
	    content: '<p>View Old Post</p>'
	}));
	 
	myTabs.addTab( new YAHOO.widget.Tab({
	    label: 'Search',
	    content: '<p>Search for Post</p>'
	}));

	myTabs.addTab( new YAHOO.widget.Tab({
	    label: 'Groups',
	    content: '<p>Search for Post</p>'
	}));
	var mainContentPane = document.getElementById(divId);
	myTabs.appendTo(mainContentPane);
}
